class RecreateDomain < ActiveRecord::Migration
  def self.up
		create_table :domains do |t|
      t.integer :table_id
      t.string :domainName
      t.integer :hit
      t.string :fullDomain #http://www.pyrenees.com:8080/board/index/onesup
			t.string :title #description
      t.string :scheme #http
      t.string :userinfo
      t.string :host #www.pyrenees.com
			t.string :port #8080
			t.string :registry
			t.string :path
			t.string :opaque
			t.string :query
			t.string :fragment
      t.timestamps
		end
  end

  def self.down
		drop_table :domains
  end
end
